<?
switch ($_REQUEST['frame'])
{	
    case "tuyendung" :
		include("module/tuyendung.php"); 
		break; 
	case "gifcard" :
		include("module/gifcard.php"); 
		break;
	case "facials" :
		include("module/Facials.php"); 
		break;
	case "intro" :
		include("module/intro.php"); 
		break;
    case "sothys" :
		include("module/sothys.php"); 
		break;    
	case "body" :
		include("module/body.php"); 
		break;
	case "men" :
		include("module/men.php"); 
		break;
	case "spapac" :
		include("module/spapac.php"); 
		break;
	case "spacia" :
		include("module/spacia.php"); 
		break;
	case "sevect" :
		include("module/about.php"); 
		break;
	case "dichvu" :
		include("module/dichvu.php"); 
		break;
	case "newscatvn" :
		include("../news/newscatvn.php"); 
		break;			
	case "newsviewvn" :
		include("../news/newsviewvn.php"); 
		break;
	case "gioithieu" :
		include("module/about.php"); 
		break;
	case "edoc" :
		include("../edoc/index.php"); 
		break;
	case "news" :
		include("news/newscat.php"); 
		break;
	case "newscat" :
		include("../news/newscat.php"); 
		break;			
	case "newsview" :
		include("../news/newsview.php"); 
		break;	
	case "content" :
		include("module/content_code.php"); 
		break;		
	case "category" :
		include("module/category_code.php"); 
		break;
	case "product" :
		include("module/product_code.php"); 
		break;
	case "login" :
		include("module/login_code.php"); 
		break;
	case "search" :
		include("module/search_code.php"); 
		break;	
	case "contact" :
		include("module/module_contact.php"); 
		break;
	case "category_code" :
		include("module/category_code.php"); 
		break;
	case "login" :
		include("module/login_code.php"); 
		break;
	case "cart" :
		include("module/cart_code.php"); 
		break;
	case "checkout" :
		include("module/checkout_code.php"); 
		break;
	case "register" :
		include("module/register_code.php"); 
		break;
	case "forgotpassword" :
		include("module/forgotpassword_code.php"); 
		break;
	case "logout":
		unset($_SESSION['user']);
		unset($_SESSION['dacbiet']);
		echo "<script>window.location='./?frame=login'</script>";
		break;
	case "newproduct":
		include("module/pro_new.php"); 
		break;
default :
		include("module/module_home.php"); 
		// include("../news/newscat.php"); 
		break;
}
?>